package com.tongyi.lizhishop.common;

import android.os.Bundle;

import com.classic.common.MultipleStatusView;
import com.wuhenzhizao.titlebar.widget.CommonTitleBar;

import com.tongyi.lizhishop.R;

import butterknife.ButterKnife;

public abstract class MultiStatusActivity extends BaseActivity {

    protected CommonTitleBar titlebar;
    protected MultipleStatusView multipleStatusView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_multi_status);
        multipleStatusView = (MultipleStatusView) findViewById(R.id.multiple_status_view);
        titlebar = (CommonTitleBar) findViewById(R.id.titlebar);
        getLayoutInflater().inflate(getContentView(), multipleStatusView,true);
        ButterKnife.bind(this);
    }
    public abstract int getContentView();
}
